#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_EquipData.nanopb.h"
#ifndef MAX_EQUIPDATA_EQUIPDATA_NUM
#define MAX_EQUIPDATA_EQUIPDATA_NUM 3600
#endif

class EquipDesc : public NFI_DESC_TEMPLATE_MACRO(EquipDesc, E_Equip, EOT_CONST_EQUIPDATA_EQUIPDATA_DESC_ID, MAX_EQUIPDATA_EQUIPDATA_NUM)
public:
	EquipDesc();
	virtual ~EquipDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
